package com.smart.provider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * .............................................
 * When I wrote this, only God and I understood what I was doing
 * Now, God only knows
 * .............................................
 *
 * @ProjectName: cloud-alibaba-example
 * @Package: com.smart.provider.controller
 * @ClassName: ProviderController
 * @Description: 描述
 * @Author: zhangwei
 * @CreateDate: 2021/12/20 17:26
 * @UpdateUser: 更新者
 * @UpdateDate: 2021/12/20 17:26
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@RestController
@RequestMapping("/provider")
public class ProviderController {

    @GetMapping("/hello")
    public String hello(String name) {
        return "hello " + name;
    }

}
